﻿using System.Collections.Generic;
using XQ.AssetsBonus.DAL;
using XQ.AssetsBonus.DAL.Bonus;
using XQ.AssetsBonus.DAL.Bonus.Model;

namespace XQ.AssetsBonus.BLL.Bonus
{
    public class BonusBLL
    {
        private readonly BonusDAL dal = new BonusDAL();

        public string save(BonusBatch detail)
        {
            return dal.save(detail);
        }
        public string delete(List<int> item)
        {
            return dal.delete(item);
        }
        public List<BonusBatch> Search(BonusSearchModel bonusSearchModel)
        {
            return dal.Search(bonusSearchModel);
        }
        public BonusBatch GetBonusById(int id)
        {
            return dal.GetBonusById(id);
        }
    }
}
